AmbientLightingConfig


Ambient Lighting Module - Settings for control of onboard LEDs to allow users to adjust the brightness levels and respective color levels.
Initially created for the RAK14001 RGB LED module.
Protobuf type meshtastic.ModuleConfig.AmbientLightingConfig

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , ModuleConfigProtos.ModuleConfig.AmbientLightingConfigOrBuilder

Ambient Lighting Module - Settings for control of onboard LEDs to allow users to adjust the brightness levels and respective color levels.
Initially created for the RAK14001 RGB LED module.
Protobuf type meshtastic.ModuleConfig.AmbientLightingConfig

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun getBlue(): Int

Sets the blue LED level. Values are 0-255.
uint32 blue = 5;
Link copied to clipboard
open fun getCurrent(): Int

Sets the current for the LED output. Default is 10.
uint32 current = 2;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getGreen(): Int

Sets the green LED level. Values are 0-255.
uint32 green = 4;
Link copied to clipboard
open fun getLedState(): Boolean

Sets LED to on or off.
bool led_state = 1;
Link copied to clipboard
open fun getRed(): Int

Sets the red LED level. Values are 0-255.
uint32 red = 3;
Link copied to clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.AmbientLightingConfig
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.AmbientLightingConfig
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.AmbientLightingConfig
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.AmbientLightingConfig
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.AmbientLightingConfig
Link copied to clipboard
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)